package service;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.ServerSocket;
import java.net.Socket;
import java.sql.Connection;
import java.util.HashMap;
import java.util.Map;

public class ServiceMain {
	static Map<String,Socket> userSocketMap = new HashMap<String,Socket>();
	static ServiceSql dbop = new ServiceSql();
	
	public static void main(String args[]) throws Exception{
		ServerSocket server =  new ServerSocket(10007);
		while(true){
			Socket client = server.accept();
			ServiceThread thread = new ServiceThread(client);
			thread.start();
		}
	}
}
